package com.liam.design.singleton;

public class Test {

    public static void main(String[] args) {

        SingletonBean s1 = SingletonBean.getInstance();
        SingletonBean s2 = SingletonBean.getInstance();

        if(s1 == s2){
            System.out.println("same ");
        }
    }
}
